SET NOCOUNT OFF
SET ANSI_NULLS ON
SET ANSI_PADDING ON
SET ANSI_WARNINGS ON
SET ARITHABORT ON
SET CONCAT_NULL_YIELDS_NULL ON
SET QUOTED_IDENTIFIER ON
SET NUMERIC_ROUNDABORT OFF
GO

PRINT 'Creating Table Notables...'
GO

IF OBJECT_ID( 'Notables' ) IS NULL
BEGIN
	CREATE TABLE [DBO].Notables
	(
		[OID] BIGINT IDENTITY( 1,1 ) NOT NULL,
		Version ROWVERSION,
		[DateCreated] DATETIME NOT NULL
			CONSTRAINT [DFLT_Notables_DateCreated] DEFAULT GETDATE(),

		CONSTRAINT [PK_Notables] PRIMARY KEY CLUSTERED( [OID] ) ON [PRIMARY]
	)
    PRINT 'Table Notables has been created successfully.'
END
ELSE BEGIN
    PRINT 'Table Notables already exists.'
END

GO 